@extends('admin.layout.index')

@section('content')

<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span>添加分类</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                    	<form class="mws-form" action="/admin/aclass/update" method="post">
                    	{{ csrf_field() }}
                    		<div class="mws-form-inline"> 
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">分类名称</label>
                    				<div class="mws-form-item">
                    					<input class="large" type="text" name="catname" value="{{ $data['catname'] }}">
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">排序编号</label>
                    				<div class="mws-form-item">
                    					<input class="large" type="text" name="ord" value="{{ $data['ord'] }}">
                    				</div>
                    			</div>
                    		</div>

                    		<div class="mws-button-row">
                    		<input type="hidden" name="id" value="{{ $data['id'] }}">
                    			<input value="提交" class="btn btn-danger" type="submit">	
                    		</div>
                    	</form>
                    </div> 
                    </div>   	
@endsection